package com.yuke.cloud.service.api.opc.service.hystrix;

import com.yuke.cloud.common.util.wrapper.Wrapper;
import com.yuke.cloud.service.api.opc.dto.UploadFile;
import com.yuke.cloud.service.api.opc.service.OpcFileFeignApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.io.InputStream;
import java.util.List;

@Slf4j
@Component
public class OpcFileFeignApiHystrix implements OpcFileFeignApi {

    @Override
    public Wrapper<Integer> fileDelete(List<UploadFile> uploadFiles) {
        log.info("fileDelete熔断");
        return null;
    }

    @Override
    public Wrapper<Integer> filesDelete(UploadFile uploadFile) {
        log.info("filesDelete熔断");
        return null;
    }

//    @Override
//    public String uploadExcelFiles(InputStream inputStream, String fileName, String ext){
//        log.info("updateFiles熔断");
//        return "updateFiles熔断";
//    }
}
